#ifndef __SOCKET_HELPER_
#define __SOCKET_HELPER_

enum sockerr {
	SERVER_SOCKET_ERROR = 1,
	SERVER_SETSOCKOPT_ERROR,
	SERVER_BIND_ERROR,
	SERVER_LISTEN_ERROR,
};

int create_server_socket(int port);

int connect_with_remote(const char* host, int port);
#endif